package com.eduService.teacher.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.eduService.teacher.entity.EduCourse;
import com.eduService.teacher.vo.course.*;

/**
 * <p>
 * 课程 服务类
 * </p>
 *
 * @author Mr.Tang
 * @since 2022-05-01
 */
public interface IEduCourseService extends IService<EduCourse> {

    String saveCourse(courseMes courseMes);

    courseMes getCourseInfo(String courseid);

    void updateCourseInfo(courseMes courseMes);


    void pageQueryCourse(Page<EduCourse> tpage, courseConditionVo conditionVo);

    void pageQueryCourseHome(Page<EduCourse> tpage, homeCourseConditionVo homeCourseConditionVo);

    homeCourseInfo getCourseInfoMes(String courseid);

    /**
     * 购买次数增加
     * */
    void paySuccessCount(String courseId);
}
